﻿using Angular4DotNet.Models.Instructors;

namespace Angular4DotNet.Models.Registration
{
    public class RegistrationVmBuilder
    {
       
        public CourseVm[] GetCourseVms()
        {
            var courses = new[] 
                {
                    new CourseVm{Number="1", Name="Care of magical creatures", Instructor="Rubeus Hagrid"},
                    new CourseVm{Number="2", Name="Defence against the dark arts", Instructor="Severus Snape"},
                    new CourseVm{Number="3", Name="Transfiguration", Instructor="Minerva Mcgonagall"},
                };
            return courses;
        }

        public InstructorVm[] GetInstructors()
        {
            var instructors = new[] 
                {
                    new InstructorVm{ Name="Rubeus Hagrid" , Email="hargid@hogwarts.com", RoomNumber=1001},
                    new InstructorVm{ Name="Severus Snape" , Email="snape@hogwarts.com", RoomNumber=1001},
                    new InstructorVm{ Name="Minerva Mcgonagall" , Email="mcgonagall@hogwarts.com", RoomNumber=1001},
                };
            return instructors;
        }


    }
}